<style>
#load{
    width:100%;
    height:100%;
    position:fixed;
    z-index:9999;
    background:url("images/loading_bar.gif") no-repeat center center #fff;
}
</style>
<div class="container-fluid">
	<div class="row-fluid container_bg">
    	<div ng-include="'side-menu.html'"></div>
		 <div class="span9 pos_r">
			<div class="container_title">
				<div><h1>Register Shop</h1></div>
				<div class="row mar_top">
				<div class="span12 brg">
				<div class="h2_title_bg"><h2>Shop Details</h2></div>
				<form class="form-horizontal mar_top" id="addShopForm" method="POST" name="addShopForm" ng-submit="addShopProces(addShopForm)">
					<div class="control-group">
						<label class="control-label" for="inputUser">Shop Name</label>
						<div class="controls">
						<input type="text" class="span8" id="shopFirstName" name="shopFirstName" placeholder="Please Enter Shop Name " ng-model="shop.shopFirstName" required/>
						<span class="error" ng-show="addShopForm.shopFirstName.$error.required"></span>
						</div>
					</div>
					<!--<div class="control-group">
						<label class="control-label" for="inputUser">Last Name</label>
						<div class="controls">
						<input type="text" class="span8" id="inputLastname" name="inputLastname" placeholder="Please Enter Last Name ">
						<span id="errorLastname" name="errorLastname" style="color:red"></span>
						</div>
					</div>-->
					<div class="control-group">
						<label class="control-label" for="inputEmail">Email ID</label>
						<div class="controls">
						<input type="text" class="span8" id="inputEmail" name="inputEmail" placeholder="Please Enter Email ID" ng-model="shop.inputEmail" required/>
						<span class="error" ng-show="addShopForm.inputEmail.$error.required"></span>
						<span class="error" ng-show="addShopForm.inputEmail.$error.email"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputPh">Phonenumber</label>
						<div class="controls">
						<input type="text" class="span8" id="inputTelephone" name="inputTelephone" placeholder="Please Enter Telephone Number" ng-model="shop.inputTelephone" required/>
						<span class="error" ng-show="addShopForm.inputTelephone.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="alterphone">Alterphonenumber</label>
						<div class="controls">
						<input type="text" class="span8" id="alterphone" name="alterphone" placeholder="Please Enter alternative Number" ng-model="shop.alterphone" required/>
						<span class="error" ng-show="addShopForm.alterphone.$error.required"></span>
						</div>
					</div>
					
					<div class="control-group">
						<label class="control-label" for="landmark">Landmark</label>
						<div class="controls">
						<input type="text" class="span8" id="landmark" name="landmark" placeholder="Please Enter landmark" ng-model="shop.landmark" required/>
						<span class="error" ng-show="addShopForm.landmark.$error.required"></span>
						</div>
					</div>
					
					<div class="control-group">
						<label class="control-label" for="location">Location</label>
						<div class="controls">
						<input type="text" class="span8" id="location" name="shopLocation" placeholder="Please Enter location" ng-model="shop.shopLocation" required/>
						<span class="error" ng-show="addShopForm.shopLocation.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputAddress">Address</label>
						<div class="controls">
						<textarea rows="3" class="span8" id="inputAddress" name="inputAddress" placeholder="Please Enter Address" ng-model="shop.inputAddress" required></textarea>
						<span class="error" ng-show="addShopForm.inputAddress.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="pincode">Pincode</label>
						<div class="controls">
						<input type="text" class="span8" id="pincode" name="pincode" placeholder="Please Enter pincode" ng-model="shop.pincode" required/>
						<span class="error" ng-show="addShopForm.pincode.$error.required"></span>
						</div>
					</div>
					<!--<div class="control-group">
						<label class="control-label" for="fax">Fax</label>
						<div class="controls">
						<input type="text" class="span8" id="fax" name="fax" placeholder="Please Enter fax">
						<span id="errorfax" name="errorfax" style="color:red"></span>
						</div>
					</div>
					
					
					<div class="control-group">
						<label class="control-label" for="city">City</label>
						<div class="controls">
						<input type="text" class="span8" id="city" name="city" placeholder="Please Enter city">
						<span id="errorcity" name="errorcity" style="color:red"></span>
						</div>
					</div>-->
					<input type="hidden" class="span8" id="type_id" name="type_id" value="3" readonly ng-model="shop.type_id"/>
					<!--<div class="control-group">
						<label class="control-label" for="country">Country</label>
						<div class="controls">
						<select class="span8" id="country" name="country" onchange="return getstateValues()"   placeholder="Select Country">
						</select>
						<span id="errorcountry" name="errorcountry" style="color:red"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="state">State</label>
						<div class="controls">
						<select class="span8" id="state" name="state" placeholder="">
							<option value="">Select state</option>
							<option value="'+status+'">Select state</option>
						</select>
						<span id="errorstate" name="errorstate" style="color:red"></span>
						</div>
					</div>-->
					
					<div class="h2_title_bg reg_sub_tit"><h2>Your Password</h2></div>
					<div class="control-group">
						<label class="control-label" for="Password">Password</label>
						<div class="controls">
						<input type="password" class="span8" id="password" name="password" placeholder="Please Enter Password " ng-model="shop.password" required/>
						<span class="error" ng-show="addShopForm.password.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="ConformPassword">Conform Password</label>
						<div class="controls">
						<input type="password" class="span8" id="ConformPassword" name="ConformPassword" placeholder="Please Enter Conform Password " ng-model="shop.ConformPassword" required/>
						<span class="error" ng-show="addShopForm.ConformPassword.$error.required"></span>
						<span style="color:red">{{ errorCPassword }}</span>
						</div>
					</div>
					<!--<div class="h2_title_bg reg_sub_tit"><h2>Newsletter</h2></div>
					 <div class="control-group">
						<label class="control-label" for="inputEmail">Subscribe</label>
						<div class="controls">
						<input type="radio"  id="optionsRadios"  name="optionsRadios" value="1">&nbsp;<span class="reg_radio_align">Yes</span>&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio"  id="optionsRadios" name="optionsRadios" value="0" checked>&nbsp;<span class="reg_radio_align">No</span>
						</div>
					</div>
					<div class="control-group">
						<div class="controls">
							<label class="checkbox">
								<input type="checkbox" id="privacy" /> I have read and agree to the <a href="javascript void(0);">Privacy Policy</a>
								<span id="errorCheckbox" name="errorCheckbox" style="color:red"></span>
							</label>
						</div>
					</div>-->
					<div class="control-group">
						<div class="controls">
						<input type="submit" id="submit" value="SAVE" /><span ng-bind-html="addShoploading"></span>
						</div>
					</div>
						<input type="hidden" id="hidemailerror" name="hidemailerror" value="1"/>
				</form>
				<!--<p id="successSubcription" style="color:green"></p>-->
				 
				</div>
				</div>
			</div>
			</div>
		</div>
	</div>
